win32: Don't multiply the scroll event deltas by the Windows scroll lines setting...
authorChristoph Reiter <reiter.christoph@gmail.com>
Wed, 21 Nov 2018 19:34:29 +0000 (20:34 +0100)
committerChristoph Reiter <reiter.christoph@gmail.com>
Sat, 8 Dec 2018 14:28:37 +0000 (15:28 +0100)
commit2f29cb9e6f7e41d19515a8c9778ef0687a3dd0e2
tree8d6409d1ecf7c5d90c129fffd4b938737115cbc5
parent67fdfca3ba28d82a7cfe02d4d5fe34c910e6c959
win32: Don't multiply the scroll event deltas by the Windows scroll lines setting. See #1408

GTK widgets expect the scroll deltas to be 1 or -1 and calculate a scroll value from that.
Multiplying the delta by the Windows scroll line setting (which defaults to 3) results
in a much larger delta and vastly different behaviour for running a GTK app on Windows
vs on Linux. For example text view and tree view scroll by 9 lines per scroll wheel tick
per default this way while on Linux it is around 3.

Remove the multiplication for now.

See !426 for the gtk3 MR
gdk/win32/gdkevents-win32.c